<template>
  <div id="view-index">
    <!--  添加文章 -->
    <!-- <fc-3d-btn>23333</fc-3d-btn> -->
    <index-content ref="content" />
    <addActicle-field @success="success" />
  </div>
</template>

<script>
import AddActicleField from '@/components/AddActicleField'
import IndexContent from './content'
export default {
  name: 'view-index',
  components: {
    [AddActicleField.name]: AddActicleField,
    [IndexContent.name]: IndexContent
  },
  data() {
    return {
    }
  },
  mounted() {
    console.log('env', process.env.NODE_ENV, process.env.ENV)
  },
  methods: {
    success() {
      this.$refs.content.reloadData()
    }
  }
}
</script>
